package com.soonzlab.englishlearning.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.soonzlab.englishlearning.client.obj.ArticleObj;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	ArrayList<ArticleObj> getNewArticle();
	String getTranslate(String name, String language);
	String getLoginUser();
	String saveToCalendar(String word, String vocabulary);
	void logout();
}


